-
Notifications
You must be signed in to change notification settings - Fork 650
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(bpp): transition from IDLE to WAITING APPROVAL #6051
fix(bpp): transition from IDLE to WAITING APPROVAL #6051
Conversation
...ath_planner_common/include/behavior_path_planner_common/interface/scene_module_interface.hpp
Outdated
Show resolved
Hide resolved
834e055
to
767b0a0
Compare
767b0a0
to
e4d2748
Compare
e4d2748
to
e98ac1c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
If there is no degression, you can merge this change fot start/goal planner side 👍
...ath_planner_common/include/behavior_path_planner_common/interface/scene_module_interface.hpp
Outdated
Show resolved
Hide resolved
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #6051 +/- ##
=======================================
Coverage 14.38% 14.38%
=======================================
Files 1907 1907
Lines 129935 129922 -13
Branches 37616 37613 -3
=======================================
Hits 18695 18695
+ Misses 90230 90217 -13
Partials 21010 21010
*This pull request uses carry forward flags. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
…anner_common/interface/scene_module_interface.hpp Co-authored-by: Fumiya Watanabe <rej55.g@gmail.com>
Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
0c72939
to
12b65d8
Compare
I updated this branch to import #6278. |
Thank you so much @HansRobo!! |
…n#6051) * fix(bpp): explicitly set the initial state Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * remove isWaitingApproval() from state transition Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * Update planning/behavior_path_planner_common/include/behavior_path_planner_common/interface/scene_module_interface.hpp Co-authored-by: Fumiya Watanabe <rej55.g@gmail.com> * explicitly set the initial state Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * remove setInitState in start_planner_module Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> --------- Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Co-authored-by: Fumiya Watanabe <rej55.g@gmail.com>
…n#6051) * fix(bpp): explicitly set the initial state Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * remove isWaitingApproval() from state transition Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * Update planning/behavior_path_planner_common/include/behavior_path_planner_common/interface/scene_module_interface.hpp Co-authored-by: Fumiya Watanabe <rej55.g@gmail.com> * explicitly set the initial state Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * remove setInitState in start_planner_module Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> --------- Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Co-authored-by: Fumiya Watanabe <rej55.g@gmail.com>
…n#6051) * fix(bpp): explicitly set the initial state Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * remove isWaitingApproval() from state transition Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * Update planning/behavior_path_planner_common/include/behavior_path_planner_common/interface/scene_module_interface.hpp Co-authored-by: Fumiya Watanabe <rej55.g@gmail.com> * explicitly set the initial state Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * remove setInitState in start_planner_module Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> --------- Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Co-authored-by: Fumiya Watanabe <rej55.g@gmail.com>
Description
Current state transition skips WAITING_APPROVAL and jumps from IDLE to RUNNING.
This cause some minor issue during refactoring lane change.
Since transitioning to WAITING_APPROVAL is needed, and most of the modules doesn't use the function, this PR renamed the
canTransitionIdleToRunningState
tocanTransitionIdleToWaitingApprovalState
.Tests performed
Evaluator result TIER IV internal link
Effects on system behavior
Not applicable.
Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.
In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.
Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.
After all checkboxes are checked, anyone who has write access can merge the PR.